package org.formal.common.base;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
/**
 * 基础实体类
 * @version:1.0
 * @Description: BaseEntity
 * @author: jiangyan 
 * @date: 2018年9月20日
 */
public class BaseEntity implements Serializable {

	private static final long serialVersionUID = 1522097697211079535L;
	
	/**
	 * 主键id
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "select uuid()")
	@Column(name="ID")
	private String id;
	
	/**
	 * 创建时间
	 */
	@Column(name="CREATE_TIME")
	private String createTime;
	
	/**
	 * 创建人
	 */
	@Column(name="CREATE_USER")
	private String createUser;
	
	/**
	 * 最后修改时间
	 *
	 */
	@Column(name="LAST_UPDATE_TIME")
	private String lastUpdateTime;
	
	/**
	 * 修改人
	 */
	@Column(name="LAST_UPDATE_USER")
	private String lastUpdateUser;
	
	/** 
	 * 备注 
	 */
    @Column(name="REMARK")
    private String remark;
	
    /**
     * 是否删除
     */
	@Column(name="IS_DELETE")
	private Boolean isDelete;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getLastUpdateTime() {
		return lastUpdateTime;
	}

	public void setLastUpdateTime(String lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public String getLastUpdateUser() {
		return lastUpdateUser;
	}

	public void setLastUpdateUser(String lastUpdateUser) {
		this.lastUpdateUser = lastUpdateUser;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
